package br.ufmg.dcc.vod.remoteworkers.async;

import java.rmi.Remote;
import java.rmi.RemoteException;

import br.ufmg.dcc.vod.remoteworkers.CommandError;

public interface CommandInterested<T, I> extends Remote {

	public void commandResponse(I i, T t) throws RemoteException;
	
	public void commandError(I i, CommandError e) throws RemoteException;
	
}
